package com.anXin.apis.user;


import com.anXin.apis.user.fallback.IUserClientFallback;
import com.anXin.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "anXin-service-user",fallback = IUserClientFallback.class)
public interface IUserClient {

    @GetMapping("/information/{id}")
    public ResponseResult information(@PathVariable("id")  Long id);

}
